package asia.hymsk.spring.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 花于陌上开
 */
@Data
@Component
@ConfigurationProperties(prefix = "asia.hymsk.spring.crypto")  //prefix为前缀
public class CryptoProperties {
    private String salt;
    private Integer index;
    private Integer count;
    private String jwtKey;
}


